<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>How to uninstall TurboWarp Desktop</title>
    <meta name="theme-color" content="#ff4c4c">
    <link rel="canonical" href="https://desktop.turbowarp.org/uninstall" />
    <style>
      main {
        max-width: 650px;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 16px;
        margin: auto;
      }
      h1 {
        font-size: 2.5em;
        margin: 32px 0;
        text-align: center;
        font-weight: normal;
      }
      h2 {
        font-size: 1.75em;
        margin: 32px 0 16px 0;
      }
      p {
        margin: 16px 0;
      }
      code {
        padding: 1px 2px;
        border-radius: 8px;
        font-family: monospace;
        background-color: #eee;
        border: 1px solid #ddd;
      }
      .terminal {
        padding: 8px;
        display: block;
      }
      .command::before {
        content: '$ ';
        color: #e36000;
      }
      .comment {
        user-select: none;
        color: green;
      }
      .comment::before {
        content: '# ';
        font-style: italic;
      }
      .warning {
        border: 1px solid orange;
        padding: 8px;
        border-radius: 8px;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          color-scheme: dark;
          background: #171717;
          color: #eee;
        }
        code {
          background-color: #222;
          border-color: #505050;
        }
        .comment {
          color: #1ab51a;
        }
      }
    </style>
  </head>
  <body>
    <main>
      <h1>How to completely uninstall TurboWarp Desktop</h1>
      <p>This page describes how to <i>completely</i> uninstall TurboWarp, including deleting all of your user data where your settings and backpack and stored. Uninstalling the app does not affect projects you have saved on your computer.</p>

      <h2>Windows</h2>
      <p>Uninstall TurboWarp like you would any other app.</p>
      <p>Settings &gt; Add or remove programs &gt; TurboWarp &gt; Remove.</p>
      <p>To delete user data, open file explorer, type <code>%APPDATA%</code> into the location bar, then delete the <code>turbowarp-desktop</code> folder. Repeat for each user that used the app.</p>

      <h2>macOS</h2>
      <p>If you installed it from our website, open Finder > Go to Applications > Drag TurboWarp into the trash icon on your dock.</p>
      <p>To delete user data, open Finder, press Shift+Command+G, type in <code>~/Library/Application Support/</code>, then delete the <code>turbowarp-desktop</code> folder if it exists.</p>
      <p>If you installed it from the Mac App Store, open Launchpad, long click on TurboWarp, then click the X.</p>
      <p>To delete user data, open Finder, press Shift+Command+G, type in <code>~/Library/Containers/</code>, then delete the <code>TurboWarp</code> and <code>org.turbowarp.desktop</code> folders if they exist.</p>

      <h2>Linux</h2>
      <p>Typically you can open up your distributions software manager, search for "TurboWarp", and just uninstall it from there.</p>

      <p>If you installed it manually or from the command line or want to delete user data, you may need to run some commands.</p>
      <p class="warning">Please be careful running these. Small typos could break your system.</p>

      <p>If you installed it from the Snap Store:</p>
      <code class="terminal">
        <div class="command">snap remove turbowarp-desktop</div>
        <div class="comment">Remove file association helper file workaround, if it exists</div>
        <div class="command">sudo rm /usr/share/mime/packages/turbowarp-desktop-snap.xml</div>
      </code>

      <p>If you installed it using Flatpak from Flathub:</p>
      <code class="terminal">
        <div class="comment">To uninstall without removing user data:</div>
        <div class="command">flatpak uninstall org.turbowarp.TurboWarp</div>
        <div class="comment">To uninstall and remove user data:</div>
        <div class="command">flatpak uninstall org.turbowarp.TurboWarp --delete-data</div>
      </code>

      <p>If you installed it using the Debian/Ubuntu repository or .deb packages:</p>
      <code class="terminal">
        <div class="comment">Remove app files</div>
        <div class="command">sudo apt remove turbowarp-desktop</div>
        <div class="comment">Remove our repository from your computer</div>
        <div class="command">sudo rm /etc/apt/sources.list.d/turbowarp.list</div>
        <div class="comment">Remove our repository signing key</div>
        <div class="command">sudo rm /usr/share/keyrings/turbowarp.gpg</div>
        <div class="comment">Refresh apt to finish removing our repository</div>
        <div class="command">sudo apt update</div>
      </code>

      <p>If you installed it from the Arch User Repository:</p>
      <code class="terminal">
        <div class="command">sudo pacman -R turbowarp-desktop-bin</div>
      </code>

      <p>If you installed it manually or using the legacy install script:</p>
      <code class="terminal">
        <div class="comment">Remove app files</div>
        <div class="command">sudo rm /opt/TurboWarp -rf</div>
        <div class="comment">Remove shortcut in PATH</div>
        <div class="command">sudo rm /usr/bin/turbowarp-desktop</div>
        <div class="comment">Remove desktop launch menu item</div>
        <div class="command">sudo rm /usr/share/applications/turbowarp-desktop.desktop</div>
        <div class="comment">Remove file type information</div>
        <div class="command">sudo rm /usr/share/mime/packages/turbowarp-desktop.xml</div>
        <div class="comment">Remove icon</div>
        <div class="command">sudo rm /usr/share/icons/hicolor/512x512/apps/turbowarp-desktop.png</div>
        <div class="comment">May have to reboot for full effect</div>
      </code>

      <p>If you manually installed the tar.gz, delete the folder where you installed it to.</p>

      <p>If you're using the AppImage, simply delete the .AppImage file.</p>

      <p>Delete user data:</p>
      <code class="terminal">
        <div class="command">sudo rm ~/.config/turbowarp-desktop -rf</div>
      </code>
      <p>Repeat for each user that used the app.</p>
    </main>
  </body>
</html>
